package com.mdd.admin.vo.order;

import com.mdd.common.entity.OrderBillInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("订单详情")
public class OrderInfoDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "商家id")
    private Integer deptId;
    @ApiModelProperty(value = "门店id")
    private Long storeId;
    @ApiModelProperty(value = "订单编号")
    private String orderSn;
    @ApiModelProperty(value = "用户Id")
    private Integer userId;
    @ApiModelProperty(value = "订单总金额")
    private BigDecimal totalAmount;
    @ApiModelProperty(value = "应付金额（实际支付金额）")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "支付方式：0->未支付;1->支付宝;2->微信")
    private Integer payType;
    @ApiModelProperty(value = "订单来源：0->PC订单;1->app订单")
    private Integer sourceType;
    @ApiModelProperty(value =
            "购物订单状态：0->待付款 1->待发货 2->已发货 3->已完成 4->已关闭 5->无效订单" +
            "租赁订单状态：0->待确认 1->待支付 2->待处理 3->进行中 4->结算中 5->已取消 6->已完成" +
            "核销订单状态：0->待付款 1->待核销 2->已核销 3->已完成 4->已关闭 5->无效订单")
    private Integer status;
    @ApiModelProperty(value = "订单类型：0->购物订单;1->租赁订单;2->核销订单")
    private Integer orderType;
    @ApiModelProperty(value = "订单备注")
    private String note;
    /**
     * 订单商品详情
     */
    List<OrderItemVo> orderItems;
    /**
     * 账单列表
     */
    List<OrderBillInfoVo> orderBillInfoVos;



}
